#ifndef FCG_PARTICLE_TOOLS_H
#define FCG_PARTICLE_TOOLS_H
#include "ParticleType.h"
namespace FireCloud{
class ParticleTools{
public:
	static GLuint rand_gluint(GLuint min,GLuint max);
	static GLfloat rand_glfloat(GLfloat min,GLfloat max);
	static GLfloat ratio_glfloat(GLfloat min,GLfloat diff,GLfloat ratio);
	static void rand_glcolor(const GLcolor &min,const GLcolor &max,GLcolor &out);
	static void diff_glcolor(const GLcolor &min,const GLcolor &max,GLcolor &out);
	static void ratio_glcolor(const GLcolor &min,const GLcolor &diff,GLcolor &out,GLfloat ratio);
	static void add_glvector(GLvector &det,const GLvector &src);
};
}
#endif
